From: Owen W. Taylor Date: Sat, 17 May 2014 19:10:04 +0000 (-0400) Subject: gnome-shell-build-setup.sh: work around removal of gpk-install-package-name X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2488 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c9190294bc3f477956001048b3d844ba36d013c7;p=gnome-shell.git gnome-shell-build-setup.sh: work around removal of gpk-install-package-name gpk-install-package-name was removed in 3.12. Call the D-Bus interface using gdbus instead. --- diff --git a/tools/build/gnome-shell-build-setup.sh b/tools/build/gnome-shell-build-setup.sh index a3c0cbe6f..f75d44d9a 100755 --- a/tools/build/gnome-shell-build-setup.sh +++ b/tools/build/gnome-shell-build-setup.sh @@ -230,7 +230,11 @@ if test "x$system" = xFedora ; then if test ! "x$missing" = x; then echo -n "Installing packages ... " - gpk-install-package-name $missing + missing_str= + for pkg in $missing ; do + missing_str="$missing_str${missing_str:+,}\"$pkg\"" + done + gdbus call -e -d org.freedesktop.PackageKit -o /org/freedesktop/PackageKit -m org.freedesktop.PackageKit.Modify.InstallPackageNames 0 "[$missing_str]" "hide-finished,show-warnings" echo "done" fi fi